package com.linktco.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * @author zhangnx
 */
@Data
@TableName("sys_open_user")
@EqualsAndHashCode(callSuper = true)
public class OpenUser extends TenantEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("openId")
    private String openId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("常住地址")
    private String  address;

    @ApiModelProperty("业务ID")
    @TableField(exist = false)
    private Long businessId;


}